<!DOCTYPE html>
<html>
  <head>
    <title>Go Demo</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head> 
  
  <body>
    <div>upload image through form
	    <form action="/api/avatar" method="post" enctype ="multipart/form-data"> 
				<div>select an image file : <input name="avatar" type="file" /> </div>
				<div> set name: <input name="name" type="text" value="jack" /> </div>
				<input type="submit" name="upload" id="Button1" />
			</form>
		</div> </br>
		
  </body>  

  
</html>